﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 报名表
    /// </summary>
    public class Registration
    {
        /// <summary>
        /// 报名人
        /// </summary>
        [ForeignKey("P01")]
        [Column("A01")]
        public User? UserInfo { get; set; }

        /// <summary>
        /// 报名费用
        /// </summary>
        
        public double Money { get; set; }


        /// <summary>
        /// 报名地点
        /// </summary>
        public string? Addres { get; set; }


        [ForeignKey("P01")]
        public User? EdiuUser { get; set; }
    }
}
